<div class="right-title">Các sản phẩm tiêu biểu</div>
<div class="features">
	<?php if(count($features) <= 0 || $features == null) : ?>
		Chưa cập nhật sản phẩm.
	<?php else: ?>
		<?php foreach($features as $product){ ?>
			<div class="listview">
				<div class="left">
					<a href="<?php echo $BaseUrl?>index.php/index/product/<?php echo $product->id?>">
						<img class="thumb-img" src="<?php echo $product->image?>" alt="<?php echo $product->name?>"/><br />
					</a>
				</div>
				<div class="right">
					<a href="<?php echo $BaseUrl?>index.php/index/product/<?php echo $product->id?>">
						<span class="product-name"><?php echo $product->name?></span>
					</a>
					<span class="description"><?php echo $product->description?></span>
					<?php if((double)$product->discount > 0):?>
						<span class="origin-price-number"><?php echo $product->priceCurrency.' '.$product->price?></span>
					<?php else: ?>
						<span class="price-number"><?php echo $product->priceCurrency.' '.$product->price?></span>
					<?php endif ?>
					<span class="price-number"><?php echo $product->discountCurrency.' '.$product->discount?></span>
				</div>
			</div> <!-- end list view-->
		<?php } ?>
	<?php endif ?>
	
</div> <!-- end features -->